package request

// 添加车辆
type AddVehicle struct {
	DeviceId            int64  `json:"device_id" form:"device_id"`
	VehicleFilesId      int64  `json:"vehicle_files_id" form:"vehicle_files_id" `
	CityId              int64  `json:"city_id" form:"city_id" `
	LevelId             int64  `json:"level_id" form:"level_id" `
	ModelId             int64  `json:"model_id" form:"model_id" `
	LicensePlate        string `json:"license_plate" form:"license_plate"`
	IsInstalledCarBrain int64  `json:"is_installed_car_brain" form:"is_installed_car_brain"`
	CarBrainBrand       string `json:"car_brain_brand" form:"car_brain_brand"`
	CarBrainNumber      string `json:"car_brain_number" form:"car_brain_number"`
	LargeScreenNumber   string `json:"large_screen_number" form:"large_screen_number"`
	LargeScreenBrand    string `json:"large_screen_brand" form:"large_screen_brand"`
	VinCode             string `json:"vin_code" form:"vin_code"`
}

// 车辆证件添加
type AddVehicleFiles struct {
	VehicleInvoicePath          string `json:"vehicle_invoice_path" form:"vehicle_invoice_path" binding:"required"`
	CertificatePath             string `json:"certificate_path" form:"certificate_path" binding:"required"`
	DrivingProofPath            string `json:"driving_proof_path" form:"driving_proof_path" binding:"required"`
	RegistrationCertificatePath string `json:"registration_certificate_path" form:"registration_certificate_path" binding:"required"`
	TaxProofPath                string `json:"tax_proof_path" form:"tax_proof_path" binding:"required"`
	VehicleTransportCertPath    string `json:"vehicle_transport_cert_path" form:"vehicle_transport_cert_path" binding:"required"`
	OtherOnePath                string `json:"other_one_path" form:"other_one_path" binding:"required"`
	OtherTwoPath                string `json:"other_two_path" form:"other_two_path" binding:"required"`
}

// 添加网约车
type AddRideHailing struct {
	CompanyIdentifier          string  `json:"company_identifier" form:"company_identifier"`
	VehicleBrand               string  `json:"vehicle_brand" form:"vehicle_brand"`
	VehicleType                string  `json:"vehicle_type" form:"vehicle_type"`
	VehicleOwner               string  `json:"vehicle_owner" form:"vehicle_owner"`
	EngineOrMotorNumber        string  `json:"engine_or_motor_number" form:"engine_or_motor_number"`
	RegistrationDate           string  `json:"registration_date" form:"registration_date"`
	FuelTypes                  string  `json:"fuel_types" form:"fuel_types"`
	EngineDisplacement         float64 `json:"engine_displacement" form:"engine_displacement"`
	VehiclePhotoFileNumber     string  `json:"vehicle_photo_file_number" form:"vehicle_photo_file_number"`
	TransportationPermitNumber string  `json:"transportation_permit_number" form:"transportation_permit_number"`
	PermitIssuingAuthority     string  `json:"permit_issuing_authority" form:"permit_issuing_authority" `
	OperationArea              string  `json:"operation_area" form:"operation_area" `
	PermitValidFrom            string  `json:"permit_valid_from" form:"permit_valid_from"`
	PermitValidTo              string  `json:"permit_valid_to" form:"permit_valid_to" `
	FirstRegistrationDate      string  `json:"first_registration_date" form:"first_registration_date"`
	MaintenanceStatus          string  `json:"maintenance_status" form:"maintenance_status"`
	NextInspectionDate         string  `json:"next_inspection_date" form:"next_inspection_date"`
	AnnualInspectionStatus     string  `json:"annual_inspection_status" form:"annual_inspection_status"`
	InvoicePrinterSerialNumber string  `json:"invoice_printer_serial_number" form:"invoice_printer_serial_number"`
	GpsBrand                   string  `json:"gps_brand" form:"gps_brand" `
	GpsModel                   string  `json:"gps_model" form:"gps_model"`
	GpsImei                    string  `json:"gps_imei" form:"gps_imei"`
	GpsInstallationDate        string  `json:"gps_installation_date" form:"gps_installation_date"`
	DevicePurchaseDate         string  `json:"device_purchase_date" form:"device_purchase_date"`
	ServiceType                string  `json:"service_type" form:"service_type"`
	FreightTypeCode            string  `json:"freight_type_code" form:"freight_type_code"`
	DriverId                   int32   `json:"driver_id" form:"driver_id"`
}

// 车辆展示
type ListVehicleReq struct {
}
